package cn.com.w.dao.Mapper;


import cn.com.w.common.DTO.SysRoleDTO;
import cn.com.w.dao.Entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色表 Mapper 接口
 * </p>
 *
 * @author wangJK
 * @since 2025-04-25
 */
@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {
    List<SysRoleDTO> listAllByUserId(@Param("userId") Long id);
}

